package com.doform.android.xianggucheng.bean.request_bean;

import com.doform.android.xianggucheng.help.AppHelp;
import com.google.gson.Gson;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017-08-18.
 * GitHub：https://github.com/cxydxpx
 */

public class ReqUpdatePassword {
    /**
     * _savetype 	是 	string 	发送短信 	changpwd
     * mobile 	是 	string 	手机号 	15011116979
     * password 	是 	string 	密码 	123456
     * debug 	是 	string 	调试 	“true”或“false”
     *
     * @param mPhone
     * @param mPassword
     */
    private String _savetype = "changpwd";
    private String mobile;
    private String password;
    private boolean debug = AppHelp.getInstance().Debug;
    public ReqUpdatePassword(String mPhone, String mPassword) {
        this.mobile = mPhone;
        this.password = mPassword;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
